<div load-script src="'/static/jquery.jUploader-1.01.js?7'" call-back="" charset="utf-8" ></div>
<div ng-include src="'tpl/public/header.html?1'"></div>
<div class="contents">
  <ol class="breadcrumb">
    <li> <a href="#/index/panel">首页</a> </li>
    <li> <a href="#/simu/order/list">私募订单列表</a> </li>
    <li>订单附件上传 </li>
  </ol>

  <form class="form-horizontal" role="form" name="form" novalidate ng-submit="save()">
    <div class="fl" style="width:98%;">
      <table class="ziliaoshangchuan">
        <tr  ng-repeat="item in list">
         <td style="width:20%;">{{item.oPhoType | tjzlView}}:</td>
         <td style="width:20%;">审核状态:<span style="color:red">{{item.oPhoStatus|oPhoStatusView}}</span>
         <input type="hidden" ng-model="orderPhosStatus[$index]" ng-init="orderPhosStatus[$index]=item.oPhoStatus"/>
         </td>
         <td style="width:60%;" >
          <label for="advertLinkInput" class="col-sm-2 control-label">图片地址</label>
          <div class="col-sm-5">
            <input type="text" readonly="true" class="form-control" id="advertLinkInput" placeholder="图片地址" name="pic" ng-init="picAddres[$index]=item.oPhoUri" ng-model="picAddres[$index]" required="required">
            <div class="btn btn-primary add-pic-btn" ng-show="item.oPhoStatus|oPhoStatusShow">上传图片</div>
          </div>
        </td>
        <td style="width:30%;">
         <div class="col-sm-5">
          <img width="280px;" ng-src="{{staticHost}}{{picAddres[$index]}}" />
        </div>
      </td>
    </tr>
    <tr>
      <td> 
      <div class="form-group" ng-show="list.length>0">
        <input type="submit" class="btn btn-block btn-primary" value="提交" />
      </div>
      <div ng-show="list.length==0">
        <span style="color:red">没有附件要求</span>
      </div>
    </td>
  </tr>

</table>
</div>
</form>

</div> 


